<?php

/* 
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
require 'dbcon.php';
$sql="select * from categories";
$result=$db->query($sql);
$bbsdata=$result->fetch_all(MYSQLI_ASSOC);
array_shift($bbsdata);
$result->free_result();
$db->close();//关闭数据库连接
require "nav.php";

